package com.wander.patterns.structure.proxy.staticProxy;

import lombok.Data;

/**
 * @description:代理人 中介,经纪人
 * @author: zhuyong
 * @create: 2019-09-03 16:36
 **/
@Data
public class ProxyStar implements Star {
    private Star star;

    @Override
    public void book() {
        System.out.println("代理明星订票");
    }

    @Override
    public void sing() {
        star.sing();
    }

    @Override
    public void talk() {
        System.out.println("面谈");
    }

    @Override
    public void collectMoney() {
        System.out.println("收款");
    }
}
